package org.example.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.user.mapper.UserinfoMapper;
import org.example.user.model.User;
import org.example.user.service.UserinfoService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
* @author cyanl
* @description 针对表【userinfo(用户中心表)】的数据库操作Service实现
* @createDate 2024-12-07 10:08:07
*/
@Service
public class UserinfoServiceImpl extends ServiceImpl<UserinfoMapper, User>
    implements UserinfoService {

    /**
     *
     * @param username 用户名
     * @param password 密码
     * @param checkPassword 确认密码
     * @return 返回注册的用户id
     */
    @Override
    public Long register(String username, String password, String checkPassword) {

        return null;
    }

    @Override
    public long userRegister(String userAccount, String userPassword, String checkPassword, String planetCode) {
        return 0;
    }

    @Override
    public User userLogin(String userAccount, String userPassword, HttpServletRequest request) {
        return null;
    }

    @Override
    public User getSafetyUser(User originUser) {
        return null;
    }

    @Override
    public int userLogout(HttpServletRequest request) {
        return 0;
    }


}




